package priv.wjh.study.nacos;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * //TODO
 *
 * @author wangjunhao
 **/
@RequiredArgsConstructor
@RestController
public class MyController {
    private final MyConfig myConfig;

    @GetMapping("/group")
    public String getGroup(){
        return myConfig.getGroup();
    }
}
